﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;

namespace MyWCFService
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IMyService" in both code and config file together.
    [ServiceContract]
    public interface IMyService
    {
        [OperationContract]
        string WelcomeMSg();

        [OperationContract]
        float Calculate(att t);
    }

    [DataContract]
    public class att
    {
        [DataMember]
        public float firstnumber { set; get; }

        [DataMember]
        public float secondnumber { set; get; }

        [DataMember]
        public char op { set; get; }
    }
}
